<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>js示例4-11-4</title>
	<script>
		var str = "脱字符功能^介绍";
		var reg = /[\^]/;
		document.write(reg.test(str));
		
	</script>
</head>
<body>
	
</body>
</html>